<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <include file="Pub:head" />
</head>
<body>
<div class="box1">
    <fieldset style="border-color:#999999;">

        <legend>项目信息资料</legend>


                <table class="tableStyle">
                    <tr>
                        <td width="15%" class="light">项目名称</td>
                        <td width="85%">{$data["name"]} </td>
                    </tr>


                    <tr>
                        <td width="15%" class="light">公司名：</td>
                        <td width="85%">{$data["company"]}</td>
                    </tr>

                    <tr>
                        <td width="15%" class="light">联系人</td>
                        <td width="85%">{$data["cname"]}</td>
                    </tr>

                    <tr>
                        <td width="15%" class="light">联系电话：</td>
                        <td width="85%">{$data["tel"]}</td>
                    </tr>

                    <tr>
                        <td width="15%" class="light">业务类型：</td>
                        <td width="85%">

                                <volist name="list" id="vo">
                                    <?php
            $id=$data['type'];
            if($id==$vo['id']){
            echo  $vo['name'] ;
            }
        	 ?>
                                </volist>

                        </td>
                    </tr>

                    <tr>
                        <td width="15%" class="light">关键词：</td>
                        <td width="85%">
                            {$data['keyword']}  </td>
                    </tr>
                    <tr>
                        <td width="15%" class="light">内容</td>
                        <td width="85%">
                                <?php echo   html_entity_decode( htmlspecialchars_decode($data['content']) ) ?>

                        </td>
                    </tr>

                    <tr>
                        <td width="15%" class="light">备案</td>
                        <td width="85%">
                            <?php
                                   if($data['beian']=="1")
                                   echo "备案";
                                   else
                                   echo "不备案";
                                   ?>

                        </td>
                    </tr>

                    <tr>
                        <td width="15%" class="light">合同价格</td>
                        <td width="85%">{$data['price']}</td>
                    </tr>

                    <tr>
                        <td width="15%" class="light">备注</td>
                        <td width="85%">{$data['statusnote']}</td>
                    </tr>
                    <tr>
                        <td   colspan="2">
                            <a href="{:U('yewuupdate',array('id'=>$data['id']))}">修改</a>
                            <?php

 $url=U('jishu/keyword',array('projectid'=>$data['id']));
$tips="审核";
        switch($data["status"])
        {
            case NOT_AUDIT:
                break;
            case AUDIT_PASS:
                    $tips="审核";
                    break;
              case KEY_SAVED:
              case TASK_ASSIGNED:
                    $tips="查看当前任务状态";
                    break;
        }

                        ?>

                            <a href="{$url}">{$tips}</a>

                            <a href="javascript:void(0);" onclick="javascript:history.go(-1);">返回</a>
                        </td>
                    </tr>


                </table>





    </fieldset>
</div>


</body>
</html>